home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 June: Reference Library / Dev.CD Jun 00 RL Disk 1.toast / pc / technical documentation / develop / develop issue 28 / develop issue 28 code / sketch / source / appleevent / oslclasswindow.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-08-25  |  1.1 KB  |  36 lines

  1. /****************************************************************************
  2.  * 
  3.  * OSLClassWindow.h
  4.  * 
  5.  * OSL support for the cWindow Apple Event Registry object
  6.  ****************************************************************************/
  7.  
  8. #include <AppleEvents.h>
  9. #include <AEObjects.h>
  10. #include <AEPackObject.h>
  11.  
  12. #ifndef    __OSLCLASSWINDOW__
  13. #define    __OSLCLASSWINDOW__
  14.  
  15. // ----------------------------------------------------------------------------
  16.  
  17. OSErr InstallWindowAccessors    (void);
  18.  
  19. OSErr    WindowEventDispatcher    (AEDesc *token, const AppleEvent *message, AppleEvent *reply, long refcon);
  20.  
  21. // ----------------------------------------------------------------------------
  22.  
  23. pascal OSErr 
  24. PropertyFromWindowAccessor(   DescType        desiredClass,
  25.                                  const AEDesc*        containerToken,
  26.                                          DescType        containerClass,
  27.                                          DescType        keyForm,
  28.                                 const AEDesc*        keyData,
  29.                                          AEDesc*        resultToken,
  30.                                          long             refCon);
  31.  
  32. OSErr    GetDataFromWindow(AEDesc *tokenOrTokenList, AEDesc *desiredTypes, AEDesc *data);
  33.  
  34. // ----------------------------------------------------------------------------
  35.  
  36. #endif